<?php

namespace App\Http\ViewComposers;

use Illuminate\Contracts\View\View;
use Illuminate\Support\Facades\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Config;

class KaoheComposer
{
    protected $auser;
    
    public function __construct()
    {
        $this->auser = Auth::user()->comuser();
    }

    
    public function compose(View $view)
    {
        $view->with('auser',$this->auser);
    }
    
}